QuickTime 3 Reference

Previous | Chapter Top | Chapter Contents | Next

Display Mode QT Atom Container

The QTVideoOutputGetDisplayModeList function returns a list of the display modes supported by a video display component. This list is contained in the QT atom container described in this section. For more information about QT atom containers, see "Movie Toolbox: Fundamentals."

At the root of the QT atom container returned by the QTVideoOutputGetDisplayModeList function are one or more atoms of type kQTVODisplayModeItem , each containing a definition of a display mode. Your software can traverse the display mode atoms by calling the QTFindChildByIndex function.

Within each kQTVODisplayModeItem atom are the following atoms:

By storing resolutions rather than an aspect ratio, QuickTime makes it easy for your software to compare values with values in QuickTime ImageDescription records. Your software can calculate the aspect ratio for the display mode by dividing the value for the horizontal resolution by the value for the vertical resolution.

Because kQTVODecompressors atoms are not required to have consecutive IDs, your software must use the QTFindChildByIndex function to iterate through the decompressors.

Within each kQTVODecompressors atom are one or more atoms:


© 1997 Apple Computer, Inc.

Previous | Chapter Top | Chapter Contents | Next